package de.probstl.core.dao;

import java.util.List;

import org.appfuse.dao.GenericDao;

import de.probstl.core.Vehicle;

/**
 * DAO interface for accessing table vehicle
 */
public interface VehicleDao extends GenericDao<Vehicle, Long>
{
	/**
	 * Finds all vehicles of given user
	 * 
	 * @param userid
	 * @return list of vehicles ordered by name
	 */
	List<Vehicle> findVehicleByUser(Long valueOf);
}
